<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/contacts/contacts/save}">
        <input type="hidden" name="id" th:if="${contacts}" th:value="${contacts.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">项目名称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="title" placeholder="请输入项目名称" th:value="${contacts?.title}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">机长姓名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="jzname" placeholder="请输入机长姓名" th:value="${contacts?.jzname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">机长电话</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="jzphone" placeholder="请输入机长电话" th:value="${contacts?.jzphone}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">安全员姓名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="aqyname" placeholder="请输入安全员姓名" th:value="${contacts?.aqyname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">安全员电话</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="aqyphone" placeholder="请输入安全员电话" th:value="${contacts?.aqyphone}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">资料员姓名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="zlyname" placeholder="请输入资料员姓名" th:value="${contacts?.zlyname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">资料员电话</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="zlyphone" placeholder="请输入资料员电话" th:value="${contacts?.zlyphone}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">监理姓名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="jlname" placeholder="请输入监理姓名" th:value="${contacts?.jlname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">监理电话</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="jlphone" placeholder="请输入监理电话" th:value="${contacts?.jlphone}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">租赁方姓名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="zlfname" placeholder="请输入租赁方姓名" th:value="${contacts?.zlfname}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">租赁方电话</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="zlfphone" placeholder="请输入租赁方电话" th:value="${contacts?.zlfphone}">
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>